#ifndef FLOATINGDIALOG_H
#define FLOATINGDIALOG_H

#include <QDialog>
#include <QListWidgetItem>

namespace Ui {
class FloatingDialog;
}

class FloatingDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit FloatingDialog(QWidget *parent = 0);
    ~FloatingDialog();

signals:
        void sigCenterOn(int x, int y);

private:
    Ui::FloatingDialog *ui;


private slots:
    void slotNewPixel(QPointF pos);
    void slotNewRGB(int x, int y, QRgb pix);
    void slotStar(int x, int y);
    void slotStatus(QString stat);
    void slotStarCount(int count);

    void on_listWidget_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
    void on_listWidget_currentTextChanged(const QString &currentText);
};

#endif // FLOATINGDIALOG_H
